<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div id="container">
           <img  v-bind:src="imgurl"/>
        </div>
        
        <script>
           // console.log(Vue.config)
           var app= new Vue({
                el:"#container",
                data:{
                    imgurl:"../images/1.jpg"
                }
            });
            
            //模拟异步操作 
            setTimeout(function(){
                app.name="异常请求后台数据";
            },3000)
        </script>
    </body>
</html>
